package com._520it._05_cache;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString

//要开启二级缓存:  要求缓存的对象需要实现序列化接口.

public class Student implements Serializable{
	private static final long serialVersionUID = 1L;


	private Long id;
	private String name;
	private int age ;
	private String address ;
}
